#ifndef SHARED_MEMORY_H
#define SHARED_MEMORY_H
#include "LinkControl.h"

#pragma pack(push,1)
constexpr int us = 10;
constexpr int ms = 1000 * us;
constexpr int s = 1000 * ms;

struct SharedData {
    KSHandle hKernel_dll;                                 // Handle of loaded Kernel
    KSHandle hKernel_class;                               // Handle of loaded Kernel
    KSHandle hPipe;                                       // Handle of the pipe
    KSHandle hTimer;                                      // Handle of the timer
    KSHandle hTimerCallBack;                              // Handle of the
    KSHandle hWaitEvent;                                  // Handle of the event
    int number;                                           // Number
};
#pragma pack(pop)

#endif // SHARED_MEMORY_H